/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lojavirtual.util;

import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author 711034
 */
public class MessageUtils {

    public static void addErrorMessage(String message, HttpServletRequest request){
        //atributo que contem a mensagem de erro
        request.setAttribute("errorMessage", message);
    }

}
